package com.ht.modules.alarmstatis.mapper;

import com.ht.modules.alarmstatis.entity.*;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 *  报警统计
 * @Author:
 * @Date: 2024-01-11
 * @Version: V1.0
 */
public interface AlarmStatisMapper {


    List<AlarmMaster> alarmMasterList(@Param("alarmMaster") AlarmMaster alarmMaster);

    List<AlarmEqu> alarmEquList(@Param("alarmEqu") AlarmEqu alarmEqu);

    /**
     * 报警类型统计
     */
    List<AlarmFromStatis> alarmFromList(@Param("alarmFromStatis") AlarmFromStatis alarmFromStatis);

    /**
     * 报警类型统计（分中心）
     */
    List<AlarmFromCentreStatis> alarmFromCentreList(@Param("alarmFromCentreStatis")AlarmFromCentreStatis alarmFromCentreStatis);


    /**
     * 报警优先级统计（不分页）
     */
    List<AlarmPriority> alarmPriority(@Param("alarmPriority") AlarmPriority alarmPriority);

    /**
     * 年月周分析（不分页）
     */
    List<AlarmYearMonthWeekAnalysis> alarmYearMonthWeekAnalysis(@Param("alarmYearMonthWeekAnalysis") AlarmYearMonthWeekAnalysis alarmYearMonthWeekAnalysis);

    /**
     * 报警分析－报警处置率
     */
    List<AlarmDisposeRate> alarmDisposeRate(@Param("alarmDisposeRate") AlarmDisposeRate alarmDisposeRate);

    List<AlarmTeamStatis> alarmKpiStatisTeam(@Param("alarmTeamStatis") AlarmTeamStatis alarmTeamStatis);

    List<AlarmCentreStatis> alarmKpiStatisCentre(@Param("alarmCentreStatis") AlarmCentreStatis alarmCentreStatis);

    List<AlarmCrossTeamStatis> alarmKpiStatisCrossTeam(@Param("alarmCrossTeamStatis") AlarmCrossTeamStatis alarmCrossTeamStatis);

}
